<?php
namespace app\api\controller;

use app\admin\model\Adaohang as AdaohangModel;
use think\Db;

class Adaohang extends Base
{
    public function index(){
        $data = AdaohangModel::where('pid','>',0)->select();
        return $this->jsonResponse(200,"请求成功",$data);
    }
}